Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution studio.extensions.easyshare--chains

This contribution is part of XML component studio.extensions.easyshare inside nuxeo-easyshare-core-9.10.jar /OSGI-INF/extensions.xml

Extension Point

Extension point chains of component OperationServiceComponent.

Contributed Items

  • <chain id="addToAShareDocument">
          <operation id="Seam.GetCurrentDocument"/>
          <operation id="Context.SetInputAsVar">
            <param name="name" type="string">shareDocument</param>
          </operation>
          <operation id="Context.SetVar">
            <param name="name" type="string">shareDocumentPath</param>
            <param name="value" type="object">expr:Document.path</param>
          </operation>
          <operation id="Seam.FetchFromWorklist"/>
          <operation id="CreateProxyLive">
            <param name="Destination Path" type="string">expr:shareDocumentPath</param>
          </operation>
          <operation id="Context.RestoreDocumentInput">
            <param name="name" type="string">shareDocument</param>
          </operation>
          <operation id="Audit.Log">
            <param name="event" type="string">Documents added to the share</param>
            <param name="category" type="string">EasyShareFolderCategory</param>
            <param name="comment" type="string">expr:Some documents were added to the share folder @{Document["dc:title"]}</param>
          </operation>
          <operation id="Seam.Refresh"/>
          <operation id="Seam.AddInfoMessage">
            <param name="message" type="string">Added</param>
          </operation>
        </chain>
  • <chain id="navToParent">
          <operation id="Context.FetchDocument"/>
          <operation id="Document.GetParent"/>
          <operation id="Seam.NavigateTo"/>
        </chain>

XML Source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">
    <chain id="addToAShareDocument">
      <operation id="Seam.GetCurrentDocument"/>
      <operation id="Context.SetInputAsVar">
        <param name="name" type="string">shareDocument</param>
      </operation>
      <operation id="Context.SetVar">
        <param name="name" type="string">shareDocumentPath</param>
        <param name="value" type="object">expr:Document.path</param>
      </operation>
      <operation id="Seam.FetchFromWorklist"/>
      <operation id="CreateProxyLive">
        <param name="Destination Path" type="string">expr:shareDocumentPath</param>
      </operation>
      <operation id="Context.RestoreDocumentInput">
        <param name="name" type="string">shareDocument</param>
      </operation>
      <operation id="Audit.Log">
        <param name="event" type="string">Documents added to the share</param>
        <param name="category" type="string">EasyShareFolderCategory</param>
        <param name="comment" type="string">expr:Some documents were added to the share folder @{Document["dc:title"]}</param>
      </operation>
      <operation id="Seam.Refresh"/>
      <operation id="Seam.AddInfoMessage">
        <param name="message" type="string">Added</param>
      </operation>
    </chain>
    <chain id="navToParent">
      <operation id="Context.FetchDocument"/>
      <operation id="Document.GetParent"/>
      <operation id="Seam.NavigateTo"/>
    </chain>
  </extension>